/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package miage.rest.resource;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import java.util.List;

/**
 *
 * @author marya
 */
@XStreamAlias("errors")
public class Errors {

    public Errors(List<Error> errors) {
        this.errors = errors;
    }

    


    @XStreamImplicit
    private List<Error> errors;

    public List<Error> getErrors() {
        return errors;
    }

    public void setErrors(List<Error> errors) {
        this.errors = errors;
    }


    
}
